package com.itheima.reggie.service;

import com.itheima.reggie.entity.Orders;
import com.itheima.reggie.entity.Page;

import java.util.List;
import java.util.Map;

public interface OrderService {
    Orders submit(Orders orders, Long userId);

    Page<Orders> userPage(Integer page, Integer pageSize);

    Page<Orders> page(Integer page, Integer pageSize,String beginTime,String endTime,Long number);


    Boolean updateStatus(Map<String, String> map);
}
